import {
    get,
    post
} from '@/utils/request'
import store from '@/store'
//首页
export const index = () => get('/index/index').then(result => result.datas)

//渠道点击量
export const incUv = (uniqid) => post('/index/incUv', {
    uniqid
})

//获取公共设置
export const settingInfo = () => get('/Authentication/getSettingInfo').then(res => res.datas)

//产品点击量
export const productUv = (id) => get('/product/incUv',{
    id
}) 